setMap

abstract fun setMap(map: MPIMap, completionCallback: (MPIError?) -> Unit?)

Sets the MPIMap of the MPIMapView

Return

Unit

Parameters

map

The MPIMap to set the MPIMapView to

completionCallback

Callback when the MPIMapView has completed setting the map, contains a MPIError as the first parameter


abstract suspend fun setMap(map: MPIMap)

Sets the MPIMap of the MPIMapView

Return

Unit

Parameters

map

The MPIMap to set the MPIMapView to


abstract fun setMap(mapId: String, completionCallback: (MPIError?) -> Unit?)

Sets the MPIMap of the MPIMapView

Return

Unit

Parameters

mapId

The id of the MPIMap to set the MPIMapView to

completionCallback

Callback when the MPIMapView has completed setting the map, contains a MPIError as the first parameter


abstract suspend fun setMap(mapId: String)

Sets the MPIMap of the MPIMapView

Return

Unit

Parameters

mapId

The id of the MPIMap to set the MPIMapView to